﻿
function comm_OpenList() {
    try {

        var StrGuid = window.parent.parent.frames(0).document.theFCO.getVarValue("GUID");
        var StrUser = window.parent.parent.frames(0).document.theFCO.getVarValue("发起人");
        var StrUsIncideNo = window.parent.parent.frames(0).document.theFCO.getVarValue("流程实例编号");
        var ProcessName = window.parent.parent.frames(0).document.theFCO.getVarValue("流程名称");
        //var purl="/ultimus/DepInnerTask/DepInnerTask.aspx?user=encodeURI("+StrUser+")&ProcessName="+escape(ProcessName)+"&IncidentNo="+StrIncidentNo+"&TaskID="+StrTaskID;

        var purl = "/ultimus/DepInnerTask/DepInnerTask.aspx?IncidentNo=" + StrUsIncideNo + "&StartUser=" + StrUser + "&ProcessName=" + ProcessName + "&guid=" + StrGuid;
        var divTest = document.getElementById("FrameShow");
        var strHtml = "<TABLE id=table1 style=\" font-size:9pt; font-family:Tahoma,Arial; WIDTH: 825px; BORDER-COLLAPSE: collapse; HEIGHT: 1500px; \"" +
		              "borderColor=#808080 cellSpacing=0 cellPadding=0 width=825  border=1> <TABLE>" +
                      "<TR height=1500px>" +
                     "<TD id=sqbmspyj align=middle width=825>" +
                      "<P align=left><IFRAME id='myiform1' width=100% height=100% SRC='" +
					  purl + "'  frameborder=no  marginwidth=0 marginheight=0 scrolling=no  allowtransparency=true></IFRAME></P></TD></TR> </TABLE>";
        divTest.innerHTML = strHtml;
    }
    catch (exception) {
        alert("程序出现一个未知的异常：" + exception.message);
    }
}
function OpenList() {

    try {

        var StrTaskID = window.parent.parent.frames(0).document.theFCO.getVarValue("部内工单ID");
        var StartUser = window.parent.parent.frames(0).document.theFCO.getVarValue("发起人");
        var ProcessName = window.parent.parent.frames(0).document.theFCO.getVarValue("流程名称");

        var purl = "/ultimus/DepInnerTask/DepInnerRepTask.aspx?StartUser=" + StartUser + "&ProcessName=" + escape(ProcessName) + "&INNER_TASK_ID=" + StrTaskID;
        var divTest = document.getElementById("FrameShow");
        var strHtml = "<TABLE id=table1 style=\" font-size:9pt; font-family:Tahoma,Arial; WIDTH: 800; BORDER-COLLAPSE: collapse; HEIGHT: 1800px; \"" +
		              "borderColor=#808080 cellSpacing=0 cellPadding=0 width=800 border=1> <TABLE>" +
                      "<TR height=1800px>" +
                      "<TD id=sqbmspyj align=middle width=800>" +
                      "<P align=left><IFRAME id='myiform1' width=100% height=100% SRC='" +
					  purl + "'  frameborder=no  marginwidth=0 marginheight=0 scrolling=no  allowtransparency=true></IFRAME></P></TD></TR> </TABLE>";
        divTest.innerHTML = strHtml;
    }
    catch (exception) {
        //alert("程序出现一个未知的异常："+exception.message);
    }
}